
using AutoMapper;
using Ccteg.Common;



namespace Cctegaq.Api.Configurations
{
    /// <summary>
    /// 
    /// </summary>
    public class MappingProfile : Profile
    {
        /// <summary>
        /// 
        /// </summary>
        public MappingProfile()
        {
            #region 现场监管
            CreateMap<Rss_Check, Rss_Check_ViewModel>();
            //新增
            CreateMap<Rss_Check_ViewModel, Rss_Check>();
            #endregion

            #region 现场监管---参与人、带队人、外部专家
            CreateMap<Rss_Checkman, Rss_Checkman_ViewModel>();
            //新增
            CreateMap<Rss_Checkman_ViewModel, Rss_Checkman>();
            #endregion

            #region 现场监管---建议信息
            CreateMap<Rss_Checkissure, Rss_Checkissure_ViewModel>();
            //新增
            CreateMap<Rss_Checkissure_ViewModel, Rss_Checkissure>();
            #endregion
        }
    }
}
